<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'center.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<style type="text/css">
* {
}
body {
	background-color: #FFFFFF;
	font-family: Arial, Helvetica, sans-serif;
	padding: 10;
	margin: 0;
	font-size: 12px;
	color: #000;
}
.clear {
	clear: both;
}
</style>
</head>
<body>
	<table frame="box" border="1" align="center" bordercolor="black" cellpadding="0" cellspacing="0">
		<caption></caption>
		<tr>
			<td colspan=2 align="center">时间</td>
			<td align="center">星期一</td>
			<td align="center">星期二</td>
			<td align="center">星期三</td>
			<td align="center">星期四</td>
			<td align="center">星期五</td>
		</tr>
		<tr>
			<td rowspan=2 align="center">上午</td>
			<td>第一大节<br/>(8:00-10:00)</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='2'&&item.OType=='1'}">
			${item.OClassName},${item.OClassCount },${item.OCourseName },${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='3'&&item.OType=='1'}">
			${item.OClassName},${item.OClassCount },${item.OCourseName },${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='4'&&item.OType=='1'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='5'&&item.OType=='1'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='6'&&item.OType=='1'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
		</tr>
		<tr>
			<td>第二大节<br/>(10:00-12:00)</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='2'&&item.OType=='2'}">
			${item.OClassName},${item.OClassCount },${item.OCourseName },${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='3'&&item.OType=='2'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='4'&&item.OType=='2'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='5'&&item.OType=='2'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='6'&&item.OType=='2'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
		</tr>
		<tr>
			<td rowspan=2 align="center">下午</td>
			<td>第三大节<br/>(14:30-16:30)</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='2'&&item.OType=='3'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='3'&&item.OType=='3'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='4'&&item.OType=='3'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='5'&&item.OType=='3'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='6'&&item.OType=='3'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
		</tr>
		<tr>
			<td>第四大节<br/>(16:30-18:30)</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='2'&&item.OType=='4'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='3'&&item.OType=='4'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='4'&&item.OType=='4'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='5'&&item.OType=='4'}">
			${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }<br/>
			</c:if>
			</c:forEach>
			</td>
			<td>
			<c:forEach items="${orderinfolist }" var="item">
			<c:if test="${item.ODayofweek=='6'&&item.OType=='4'}">
			[${item.OClassName},人数：${item.OClassCount },课程：${item.OCourseName },教师：${item.OTeacherName },${item.OLabName }]<br/>
			</c:if>
			</c:forEach>
			</td>
		</tr>
	</table>
</body>
</html>
